//
//  ReadAddDB.h
//  WYnewsss
//
//  Created by lanou on 16/4/28.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DBManager.h"
#import "ReadAddModel.h"
#import "FMDB.h"

@interface ReadAddDB : NSObject
@property(nonatomic,strong)FMDatabase *dataBase;
//  创建数据表
- (void) createDataTable;
//  插入一条数据
- (void) saveDetailModel:(ReadAddModel *)detailModel;
//  删除一条数据
- (void) deleteDetailWithTitle:(NSString *)detailTitle;
- (NSArray *)findWithUserID:(NSString *)userID;

@end
